package com.dokimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dokimall.common.utils.PageUtils;
import com.dokimall.product.entity.BrandEntity;
import com.dokimall.product.entity.CategoryBrandRelationEntity;
import com.dokimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author mori
 * @email 550144898@qq.com
 * @date 2021-09-26 14:21:33
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void detailSave(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(BrandEntity brand);


    void updateCategory(Long catId, String name);

    List<BrandEntity> brandList(Long catId);
}

